package com.example.submit_system.model;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

public class TestLpyEmployee {
    private Integer employeeId;
    private String name;
    private String gender;
    private Integer age;
    private String department;
    private String position;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date entryDate;

    public Integer getEmployeeId() {
        return employeeId;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public Integer getAge() {
        return age;
    }

    public String getDepartment() {
        return department;
    }

    public String getPosition() {
        return position;
    }

    public Date getEntryDate() {
        return entryDate;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public void setEntryDate(Date entryDate) {
        this.entryDate = entryDate;
    }

    public TestLpyEmployee(Integer employeeId, String name, String gender, Integer age, String department, String position, Date entryDate) {
        this.employeeId = employeeId;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.department = department;
        this.position = position;
        this.entryDate = entryDate;
    }


    public TestLpyEmployee() {}

    public TestLpyEmployee(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

}
